.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
}

.camera-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

#video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.result-box {
    margin-top: 2rem;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.loading {
    color: #666;
    font-style: italic;
}